﻿using UnityEngine;
using System.Collections;
using SGLisp;
namespace GameEditor
{
    public class GameEditor : MonoBehaviour
    {
        public static UIManager UI =new UIManager();
        public static SceneManager Scene = new SceneManager();

        public static string MapFolder = "../Public/GameTable/Map/";
        public void Start() 
        {
            RT.InitRuntime();
            MapTableMgr.LoadFromFile(MapFolder, RT.MainContext);
           
            ExcelTableRender.SetTablePath("");
            UI.Init(ExcelTableRender.GetTable("EditorUIWidgets"), ExcelTableRender.GetTable("EditorUILayers"));
            UI.Show("GameEditorMainMenu");
       
        }

    }
}
